<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	  <title>{$seo_title}</title>
	  <link href="{STATIC_URL}css/yzm-common.css" rel="stylesheet" type="text/css" />
	  <link href="{STATIC_URL}css/yzm-style.css" rel="stylesheet" type="text/css" />
	  <script type="text/javascript" src="{STATIC_URL}js/jquery-1.8.2.min.js"></script>
	  <script type="text/javascript" src="{STATIC_URL}js/yzm-front.js"></script>
	  <meta name="keywords" content="{$keywords}" />
	  <meta name="description" content="{$description}" />
  </head>
  <body>
	{m:include "index","header"} 

	<div class="yzm-line"></div>
		
	{php $data = get_childcat($catid);}
	{loop $data $val}
	<div class="yzm-content-box yzm-img-list">
		<div class="yzm-title">
			<h2>{$val[catname]}</h2>
			<span class="yzm-title-right"><a href="{$val[pclink]}">>>更多</a></span>
		</div>
		<ul>
		{m:lists field="title,thumb,url,color" catid="$val['catid']" limit="8"}
		{loop $data $v}
			<li>
				<a href="{$v[url]}">
					<i><img src="{get_thumb($v['thumb'])}" alt="{$v[title]}" title="{$v[title]}"></i>
					<p>{title_color($v['title'], $v['color'])}</p>
				</a>
			</li>		
		{/loop}						
		</ul>
	</div>	
	<div class="yzm-line"></div>	
	{/loop}		

	{m:include "index","footer"} 